<?php
$db = mysql_connect('localhost','root','root');
if (!$db) {
	exit("error");
}
$conn = mysql_select_db('study',$db);
if (!$conn) {
	exit("error");
}
mysql_query("SET NAMES UTF8");

?>